package service


import (
	"git.oschina.net/zhgk/sqldb"
	"app/api/sys/model"
)

//目录Service接口
type MenuService struct {
}

//查询模块目录
func (m MenuService)QueryModuleMenu(userName string) (res bool, msg string, data sqldb.RowMaps) {
	sqldb.UserDefaultDB()
	rms, err := sqldb.QueryRowMaps(model.QueryMenuModelURL)
	if err != nil {
		return false, err.Error(), nil
	}
	return true, "查询成功！", rms
}


